.bamboo-articles-header {
  display: flex;
  position: relative;
  display: -webkit-flex;
  align-items: center;
  > div {
    // flex: 1;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    input {
      width: 20rem;
      margin-right: .8rem;
    }
    span {
      align-self: center;
      font-size: 1.05rem;
      color: $gray-color;
      margin-right: 15px;
    }
  }
}

// .progress {
//   position: relative;
//   background: $bgcolor;
//   width: 20rem;
//   height: 2rem;
//   border: solid 1px $border-color;
//   margin-bottom: 0px;
//   .bar {
//     position: absolute;
//     top: 0px;
//     height: 2rem;
//     width: 0px;
//     left: 0px;
//     background-color: $green-one;
//   }
//   .percent {
//     position: absolute;
//     top: 3px;
//     left: 10px;
//     z-index: 100;
//   }
// }

// .video-progress {
//   display: flex;
//   display: -webkit-flex;
//   align-items: center;
//   margin-bottom: 2rem;
//   > div , a{
//     display: inline-block;
//     > img {
//       width: 1rem;
//       margin-left: 1rem;
//     }
//   }
// }

// .bamboo-video-upload {
//   position: relative;
//   width: 10rem;
//   height: 3rem;
//   line-height: 3rem;
//   background-color: $yellow;
//   color: $white;
//   border-radius: 5px;
//   margin-bottom: .8rem;
//   margin: 1.5rem 0;
//   &:hover {
//     cursor: pointer;
//   }
  // > form {
  //   position: absolute;
  //   top: 0px;
  //   left: 0px;
  //   right: 0px;
  //   bottom: 0px;
  //   z-index: 100;
  //   opacity: 0;
  //   input {
  //     position: absolute;
  //     top: 0px;
  //     left: 0px;
  //     right: 0px;
  //     bottom: 0px;
  //     z-index: 100;
  //     opacity: 0;
  //   }
  // }
//   div {
//     display: flex;
//     display: -webkit-flex;
//     font-size: 1.2rem;
//     justify-content: center;
//     align-items: center;
//     width: 100%;
//     height: 100%;
//
//     > img {
//       width: 1.6rem;
//     }
//     > span {
//       margin-top: .3rem;
//     }
//   }
// }

.bamboo-article-top {
  display: flex;
  display: -webkit-flex;
  margin-bottom: 1rem;
  > div {
    flex: 1;
  }
}

.bamboo-import-article {
  position: relative;
  display: none;
  @include style-transition;
  > div {
    &:nth-child(1) {
      position: fixed;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      background-color: rgba(0, 0, 0, 0.65);
      z-index: 500;
    }
    &:nth-child(2) {
      position: fixed;
      top: 28%;
      left: 50%;
      width: 30rem;
      height: 15rem;
      margin-left: -15rem;
      background-color: $white;
      border-radius: 5px;
      padding: 2.5rem 2rem;
      z-index: 506;
      > h3 {
        font-size: 1.2rem;
      }
      > input {
        margin: 1.8rem 0px .5rem;
      }
      p {
        margin: 0px;
        padding: 0px;
        font-size: .9rem;
        color: $green;
        display: none;
      }
      a {
        margin-top: 1rem;
      }
    }
  }
}

.bamboo-article-title {
  margin-bottom: 2.5rem;
  input {
    border: 0;
    outline: none;
    box-shadow: inset 0 -1px 0 0 rgba(0,0,0,.2);
    display: block;
    width: 35rem;
    font-size: 2rem;
    color: $gray-one;
    display: inline-block;
    &::-webkit-input-placeholder {
         color: #aab2bd;
     }
  }
  a {
    width: 8rem;
    margin-left: 1.5rem;
  }
}

.bamboo-article-body {
  padding: 0;
  border: solid 1px rgba(0,0,0,.2);
}

.bamboo-article-question-body {
  padding: 0rem 0rem;
  border: solid 1px rgba(0,0,0,.2);
  width: 60rem;
  height: 20rem;
  margin-bottom: 2rem;
  .bf-content {
    height: 17rem;
  }
}

.bamboo-article {
  padding: 0px 0rem;
}

.bamboo-article-litpic {
  margin: 1.5rem 0;
}

.bamboo-upload {
  width: 280px;
  height: 156px;
  border: solid 1px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
  form {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    // opacity: 0;
    z-index: 1004;
    background: url(../icon/photo.png) 0 0 no-repeat;
    background-size: 3rem;
    background-position: center;
    input {
      position: absolute;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      opacity: 0;
      z-index: 1005;
      &:hover {
        cursor: pointer;
      }
    }
  }
  > img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    z-index: 1002;
    margin: 0px;
    padding: 0px;
  }
}

.bamboo-article-picture-box {
  border: solid 1px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  > div {
    &:nth-child(1) {
      width: 10rem;
      height: 500px;
      background-color: $bgcolor;
      text-align: center;
      > span {
        color: $red;
        text-decoration: underline;
        margin-top: 1rem;
        display: inline-block;
        &:hover {
          cursor: pointer;
        }
      }
      > div {
        padding-top: 1rem;
        > a {
          text-align: left;
          padding: .5rem 0;
          margin: 0px .8rem;
          display: block;
          border-bottom: solid 1px #ddd;
          overflow: hidden;
          color: #333;
          &.click {
            color: $green;
            border-bottom: solid 1px $green;
          }
          > span {
            float: right;
          }
          &:hover {
            color: $green;
          }
        }
      }
    }
    &:nth-child(2) {
      flex: 1;
      background-color: #fff;
    }
  }
}


.bamboo-article-picture {
  padding: 1rem;
  > div {
    width: 10rem;
    height: 13rem;
    overflow: hidden;
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    border: solid 1px $border-color;
    > img {
      width: 100%;
      height: auto;
    }
    > div {
      position: absolute;
      top: 13rem;;
      left: 0px;
      width: 100%;
      height: 100%;
      line-height: 13rem;
      background-color: rgba(0, 0, 0, 0.6);
      text-align: center;
      @include style-transition;
      > img {
        width: 3rem;
        height: 3rem;
        &:hover {
          cursor: pointer;
        }
      }
    }
    &:hover {
      box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
      > div {
        top: 0px;
      }
    }
  }
}

.picture-add {
  background-color: $bgcolor;
  display: inline-block;
  width: 10rem;
  height: 13rem;
  text-align: center;
  position: relative;
  line-height: 1.5;
  &:hover {
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer;
  }
  > div {
    &:hover {
      box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.15) !important;
      cursor: pointer;
    }
  }
  form {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1004;
    input {
      position: absolute;
      top: 0px;
      left: 0px;
      width: 100%;
      height: 100%;
      opacity: 0;
      z-index: 1005;
      &:hover {
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.15) !important;
        cursor: pointer;
      }
    }
  }
  > p {
    color: #999;
    font-size: 1.05rem;
  }
  > img {
    margin-top: 3.5rem;
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
}

.bamboo-article-body-title {
  font-size: 1.35rem;
  color: $black-one;
  margin-bottom: .8rem;
}

.bamboo-upload-box {
  background-color: #f9f9f9;
  width: 50rem;
  height: 6rem;
  position: relative;
  padding: .5rem 0;
  margin-bottom: 2rem;
  .bamboo-video-upload {
    width: 50rem;
    height: 5rem;
    position: relative;
    // border-right: solid 1px rgba(0, 0, 0, 0.05);
    > form {
      position: absolute;
      top: 0px;
      left: 0px;
      right: 0px;
      bottom: 0px;
      z-index: 100;
      opacity: 0;
      input {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 100;
        opacity: 0;
        &:hover {
          cursor: pointer;
        }
      }
    }
    > div {
      line-height: 5rem;
      padding: 0 .8rem;
      display: flex;
      display: -webkit-flex;
      align-items: center;
      > img {
        width: 2rem;
      }
      > span {
        font-size: 1rem;
        color: $gray-color;
        margin-left: 1rem;
      }
    }
  }

  .video-progress {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 4px;
    width: 50rem;
    display: none;
    .xqf-progress {
      width: 100%;
      height: 100%;
      position: relative;
      .bar {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 4px;
        width: 0;
        background-color: $green;
      }
    }
    > a {
      position: absolute;
      right: 1.5rem;
      bottom: 2.5rem;
      z-index: 1000;
      > img {
        width: 1.1rem;
        height: 1.1rem;
      }
    }
  }
}

.bamboo-article-lexicon {
  > div {
    margin-bottom: 2rem;
    > input {
      width: 20rem;
    }
    > textarea {
      width: 35rem;
      height: 6rem;
    }
  }
  .bamboo-word-example {
    h3 {
      font-size: 1.1rem;
      color: $gray-one;
      margin-bottom: 1rem;
    }
  }
}

.question-type {
  position: relative;
  display: flex;
  display: -webkit-flex;
  margin-bottom: 2rem;
  > span {
    font-size: 1.35rem;
    display: inline-block;
    width: 6rem;
  }
  > div {
    font-size: 1.05rem;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    > span {
      margin-right: 1rem;
      > input {
        width: 1.3rem;
        height: 1.3rem;
        vertical-align: text-bottom;
      }
    }
  }
}

.question-type-one , .question-type-two{
  .bamboo-table {
    width: 40rem;
    thead {
      tr {
        th {
          &:nth-child(2) {
            text-align: center;
          }
        }
      }
    }
    tbody {
      tr {
        td {
          &:nth-child(2) {
            text-align: center;
            > input {
              width: 1.3rem;
              height: 1.3rem;
            }
          }
        }
      }
    }
  }
}

.question-type-three {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  input {
    width: 1.3rem;
    height: 1.3rem;
    vertical-align: text-bottom;
  }
  > span {
    margin-right: 1rem;
  }
}

.question-score {
  > h3 {
    font-size: 1.3rem;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    > span {
      margin-right: 1rem;
    }
    > input {
      width: 10rem;
    }
  }
}

.bamboo-props {
  margin-bottom: 2rem;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  > h3 {
    margin: 0px;
    margin-right: 1.5rem;
  }
  > div {
    font-size: 1.05rem;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    > span {
      display: inline-block;
      margin-right: 1rem;
      > input {
        width: 1.2rem;
        height: 1.2rem;
        vertical-align: text-bottom;
      }
    }
  }
}
